﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Investafinance
{
    //аутиндефикация пользователя веб службы
    public class Credential
    {
        //логин 
        private string m_UserName = null;
        public string UserName
        {
            get { return m_UserName; }
            set { m_UserName = value; }
        }

        //домин
        private string m_Domian = null;
        public string Domian
        {
            get { return m_Domian; }
            set { m_Domian = value; }
        }

        //пароль
        private string m_Password = null;
        public string Password
        {
            get { return m_Password; }
            set { m_Password = value; }
        }
        //конструктор
        public Credential(string password, string domian, string userName)
        {
            m_Password = password;
            m_Domian = domian;
            m_UserName = userName;
        }
    }
}
